package cn.itcast;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

public class StatProvider {

    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext app =
                new ClassPathXmlApplicationContext("classpath*:spring/applicationContext-*.xml");
        app.start();
        System.in.read();  //等待控制台输入内容 ，目的就是让spring容器一直处于工作状态
    }
}
